package com.freight.tws.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.freight.common.core.annotation.Excel;
import com.freight.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 订单手机定位轨迹对象 tws_order_trail
 * 
 * @author ruoyi
 * @date 2023-02-28
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_order_trail")
public class OrderTrail extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 定位类型(1起点 2中间点 3结束点) */
    @Excel(name = "定位类型(1起点 2中间点 3结束点)")
    private String type;

    /** 上报结果 */
    @Excel(name = "上报结果")
    private String upCode;

    /** 下次上报间隔（ms） */
    @Excel(name = "下次上报间隔(ms)")
    private String upNext;

}
